package com.example.testapplication.ui.home.home_list_fragment;

import androidx.annotation.NonNull;

import me.goldze.mvvmhabit.base.BaseViewModel;
import me.goldze.mvvmhabit.base.MultiItemViewModel;
import me.goldze.mvvmhabit.binding.command.BindingAction;
import me.goldze.mvvmhabit.binding.command.BindingCommand;
import me.goldze.mvvmhabit.utils.ToastUtils;

public class MutiItemHeadViewModel extends MultiItemViewModel {
    public MutiItemHeadViewModel(@NonNull BaseViewModel viewModel) {
        super(viewModel);
    }


    //条目的点击事件
    public BindingCommand itemClick = new BindingCommand(new BindingAction() {
        @Override
        public void call() {
            ToastUtils.showShort("I'm HeadLayout");
        }
    });
}
